package com.woniuxy.platform.client;

import com.woniuxy.platform.client.param.SearchApplyParams;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.*;
import result.Result;

import java.io.IOException;

@FeignClient(contextId = "applyClient", name = "platform" ,path = "/platform")
public interface ApplyClient {

    @PutMapping({"/apply"})
    Result handApply(@RequestParam("applayId") Integer var1, @RequestParam("storeProcessState") String var2) throws IOException;

    @GetMapping({"/apply"})
    Result searchApply(@SpringQueryMap SearchApplyParams var1);


}
